package jy.game.components.wuxue;

public enum SkillCoverType {
    // Token: 0x04000240 RID: 576
    NORMAL,
    // Token: 0x04000241 RID: 577
    CROSS,
    // Token: 0x04000242 RID: 578
    STAR,
    // Token: 0x04000243 RID: 579
    LINE,
    // Token: 0x04000244 RID: 580
    FACE,
    // Token: 0x04000245 RID: 581
    FAN,
    // Token: 0x04000246 RID: 582
    RING,
    // Token: 0x04000247 RID: 583
    X,
    // Token: 0x04000248 RID: 584
    FRONT;

    public static SkillCoverType build(int value) {
        switch (value) {
            case 0:
                return NORMAL;
            case 1:
                return CROSS;
            case 2:
                return STAR;
            case 3:
                return LINE;
            case 4:
                return FACE;
            case 5:
                return FAN;
            case 6:
                return RING;
            case 7:
                return X;
            case 8:
                return FRONT;
            default:
                return NORMAL;
        }
    }

    public int value() {
        switch (this) {
            case NORMAL:
                return 0;
            case CROSS:
                return 1;
            case STAR:
                return 2;
            case LINE:
                return 3;
            case FACE:
                return 4;
            case FAN:
                return 5;
            case RING:
                return 6;
            case X:
                return 7;
            case FRONT:
                return 8;
            default:
                return 0;
        }
    }
}